#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	bool res = true;
	if (a + b + c > 100) {
		res = false;
	}
	if ( b % 5 != 0 ) {
		res = false;
	}
	if ( c % 7 != 0) {
		res = false;
	}
	if (a - b <= b - c) {
		res = false;
	}


	if (res) {
		cout << "Yes";
	} else {
		cout << "No";
	}
	return 0;
}
